def convert_time(year, month, day, hour, minute, second, region):
    # 根据不同地区格式化时间
    if region == "中国":
        return f"{year}年{month}月{day}日 {hour}:{minute}:{second}"
    elif region == "美国":
        return f"{month:02d}/{day:02d}/{year} {hour:02d}:{minute:02d}:{second:02d}"
    elif region in ["英国", "澳大利亚", "法国"]:
        return f"{day:02d}/{month:02d}/{year} {hour:02d}:{minute:02d}:{second:02d}"
    elif region in ["德国", "俄罗斯"]:
        return f"{day:02d}.{month:02d}.{year} {hour:02d}:{minute:02d}:{second:02d}"
    elif region == "加拿大":
        return f"{year}-{month:02d}-{day:02d} {hour:02d}:{minute:02d}:{second:02d}"
    else:
        return "地区选择错误，请重新选择！"

def main():
    # 支持的地区列表
    regions = ["中国", "美国", "英国", "德国", "俄罗斯", "澳大利亚", "法国", "加拿大"]
    print("欢迎使用地区时间格式转换器！")
    print("支持的地区：", ", ".join(regions))
    
    # 获取用户输入
    year = int(input("请输入年："))
    month = int(input("请输入月："))
    day = int(input("请输入日："))
    hour = int(input("请输入时："))
    minute = int(input("请输入分："))
    second = int(input("请输入秒："))
    region = input("请选择地区（输入上述地区名称）：")
    
    # 转换并输出结果
    result = convert_time(year, month, day, hour, minute, second, region)
    print("转换后的时间格式：", result)

if __name__ == "__main__":
    main()